-- GENERATED SPELL FOR [Horde Field Scout] --


function spell0_18564(pUnit, Event) --@Battle Standard,n/a--
pUnit:FullCastSpellOnTarget(32431,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18564', 524, 1)
end

function Sorts_18564(pUnit, Event)
local choix_sorts_18564 = math.random(0, 0)
if choix_sorts_18564 == 0 then
pUnit:RegisterEvent('spell0_18564', 1, 1)
end
end

function mob18564_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18564', math.random(1500, 3000), 1)
end

function mob18564_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18564_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18564_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18564, 1, 'mob18564_Action')
RegisterUnitEvent(18564, 2, 'mob18564_Leave')
RegisterUnitEvent(18564, 3, 'mob18564_Kill')
RegisterUnitEvent(18564, 4, 'mob18564_Die')
